home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / rbbs_pc / overm82.zip / MSG2TXT.ZIP / MSG2TXT.DOC < prev    next >
Text File  |  1990-02-24  |  2KB  |  47 lines

  1.  
  2. MSG2TXT v0.02C
  3. --------------
  4.  
  5. MSG2TXT is a cute little utility that'll read an RBBS messages file, and
  6. output the data to a text file.  This could be handy if you'd like your
  7. users to be able to download archived text files containing your current
  8. echomail messages, for example.
  9.  
  10. Here's how you use it:
  11.  
  12. MSG2TXT Messages_File_Name Text_File_Name [Start] [/NOPAGE] [/NOPRIVATE]
  13.  
  14. Where,
  15.    Messages_File_Name    = Name of your RBBS messages file
  16.    Text_File_Name        = Name of the file to write the text to
  17.    Start (Optional)      = Start exporting at what message number
  18.    /NOPAGE (Optional)    = Don't put page feeds in the output file
  19.    /NOPRIVATE (Optional) = Don't export private messages
  20.  
  21. If you use the Start parameter, it has to be the THIRD parameter passed to
  22. MSG2TXT.  The '/' parameters can be in any order.
  23.  
  24. By default, MSG2TXT puts a form feed in the output file every 60 lines (for
  25. a printer).  To suppress this, use "/NOPAGE".
  26.  
  27. Running MSG2TXT with no parameters displays a help screen.
  28.  
  29. Here are some examples of how to use MSG2TXT.
  30.  
  31. 1. Export all messages, in printer form:
  32.  
  33.       MSG2TXT TrekM.DEF TrekU.DEF
  34.  
  35. 2. Export all public messages higher than 50 to a straight ASCII file:
  36.  
  37.       MSG2TXT Messages Main_Msg.TXT 50 /NOPRIVATE /NOPAGE
  38.  
  39. The source code, written for MicroSoft's Quick C, is included.  In
  40. addition, an older QuickBASIC source for MSG2TXT is included.  The
  41. QuickBASIC version doesn't support the starting message number or '/'
  42. options, but they could be easily added by anyone with minimal QB
  43. experience.
  44.  
  45. -- Tom Collins
  46.  
  47.